package com.teaching.management.service;

import com.teaching.management.entity.Course;
import com.teaching.management.entity.Teacher;

import java.util.List;
import java.util.Map;

public interface TeacherService {
    Teacher getTeacherByUserId(Integer userId);

    List<Course> getTeacherCourses(String teacherId);

    Map<String, Object> getTeachingOverview(String teacherId);

    Course getCourseById(String courseId);

    int getStudentCountForCourse(String courseId);

    boolean updateCourse(String courseId, Course updatedCourse);

    boolean deleteCourse(String courseId);

    List<Map<String, Object>> getTeacherStudents(String teacherId);

    List<Map<String, Object>> getTeacherGrades(String teacherId);

    Map<String, Object> getStudentDetail(String studentId, String teacherId);

    Map<String, Object> getStudentCourseGrade(String studentId, String courseId);
}